package com.aop.demo.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAOP {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("aop-xml.xml");
        Actor actor = context.getBean("actor", Actor.class);
        actor.doActor();
    }
}
